package org.sportspace.base.domain

/**
 * 角色
 */
class Role {

    static hasMany = [resources:Resource,users:UserInfo]

    String id
    String name

    static constraints = {
        name(size:1..255)
    }
    
    static mapping = {
        id(generator:'uuid')
    }
}
